{include file="public/header"/}
{include file="public/navleft"}
<div class="tpl-content-wrapper">
    <div class="tpl-content-page-title">
        微生物报告列表
    </div>
    <ol class="am-breadcrumb">
        <li><a href="{:url('report/wswindex')}" class="am-icon-home">首页</a></li>
        <li><a href="{:url('report/wswindex')}">报告列表</a></li>
        <li class="am-active">微生物报告查询</li>
    </ol>
    <div class="tpl-portlet-components">
        <div class="tpl-block">
            <div class="am-g">
                <!--  <div class="am-u-sm-12 am-u-md-6">
                      <div class="am-btn-toolbar">
                          <div class="am-btn-group am-btn-group-xs">
                              <button type="button" class="am-btn am-btn-default am-btn-success"><span class="am-icon-plus"></span> 新增</button>
                              <button type="button" class="am-btn am-btn-default am-btn-secondary"><span class="am-icon-save"></span> 保存</button>
                              <button type="button" class="am-btn am-btn-default am-btn-warning"><span class="am-icon-archive"></span> 审核</button>
                              <button type="button" class="am-btn am-btn-default am-btn-danger"><span class="am-icon-trash-o"></span> 删除</button>
                          </div>
                      </div>
                  </div>-->
                <div class="am-u-sm-12 am-u-md-3">
                </div>
            </div>
            <div class="am-g">
                <div class="am-u-sm-12">
                    <form class="am-form" method="post" action="{:url('report/DetailWswReportInfo')}">
                        <div class="am-u-sm-12 am-u-md-8 container">
                            <div class="am-input-group am-input-group-sm">
                                <input type="text" class="am-form-field" placeholder="千麦条码**姓名**医院条码**身份证号码" name="str">
                                <span class="am-input-group-btn">
            <button class="am-btn  am-btn-default am-btn-success tpl-am-btn-success am-icon-search" type="submit" ></button>
          </span>
                            </div>
                        </div>

                        <table class="am-table am-table-striped am-table-hover table-main">
                            <thead>
                            <tr>
                                <!--<th class="table-check"><input type="checkbox" class="tpl-table-fz-check"></th>-->
                                <!--<th class="table-id">ID</th>-->
                                <th class="table-title">条码</th>
                                <th class="table-author am-hide-sm-only">平台代号</th>
                                <th class="table-type">姓名</th>
                                <th class="table-title">检验目的</th>
                                <th class="table-title">采集时间</th>
                                <th class="table-date am-hide-sm-only">采样时间</th>
                                <th class="table-title">状态</th>
                                <th class="table-set">操作</th>
                                <th class="hidden">1</th>
                            </tr>
                            </thead>
                            <tbody>
                            {empty name="ReportRes"}

                            {else /}
                            {volist name="ReportRes" id="data"}
                            <tr>
                                <!-- <td><input type="checkbox"></td>-->
                                <!--<td>1</td>-->
                                <td>{$data.byh|default='610000123456'}</td>
                                <td>{$data.blbh|default='微生物'}</td>
                                <td>{$data.brxm|default='zAc'}</td>
                                <!--<td><input style="border:0; text-align: center; width:60px; background: #fff;"
                                           type="text"  value="{$data.brxm|default='新冠核酸'}"/></td>-->
                                <td>{$data.xmstring|default=''}</td>
                                <td class="am-hide-sm-only">{$data.cjtime|getDateDay|default='2020-01-02 07:28:47'}</td>
                                <td class="am-hide-sm-only">{$data.cyrq|getDateDay|default='2020-01-02 07:28:47'}</td>
                                <td class="table-title"><a href="#">{$data.ybzt|getYbzt|default='未知'}</a></td>
                                <td>
                                    <div class="am-btn-toolbar">
                                        <div class="am-btn-group am-btn-group-xs">
                                            <button class="am-btn am-btn-default " type="button" onclick="alert('1')"><span class="am-icon-pencil-square-o"></span> 编辑</button>
                                            <!--<button class="am-btn am-btn-default am-btn-xs am-hide-sm-only"><span class="am-icon-copy"></span> 复制</button>-->
                                            <button class="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only" id="aa" onclick="ReportRet('{$data.byh}')"><span class="am-icon-trash-o"></span> 重新生成</button>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            {/volist}
                            {/empty}
                            </tbody>
                        </table>

                        <hr>

                    </form>
                </div>

            </div>
        </div>
        <div class="tpl-alert"></div>
    </div>
    {include file="public/footer"/}
